Chart for WPF and Silverlight > Chart Features > Performance Optimization > Disabling Chart Optimization After it has been Set |
To disable the chart optimization once it has been set like the following:
Visual Basic |
Copy Code
|
---|---|
LineAreaOptions.SetOptimizationRadius(c1Chart1, 2.0) |
C# |
Copy Code
|
---|---|
LineAreaOptions.SetOptimizationRadius(c1Chart1, 2.0); |
You can set it to the default value, NaN, like the following:
Visual Basic |
Copy Code
|
---|---|
LineAreaOptions.SetOptimizationRadius(c1Chart1, double.NaN)
|
C# |
Copy Code
|
---|---|
LineAreaOptions.SetOptimizationRadius(c1Chart1, double.NaN);
|